Bug 552107 – Small libtool fixes
authorMatthias Clasen <mclasen@redhat.com>
Wed, 17 Sep 2008 15:10:30 +0000 (15:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 17 Sep 2008 15:10:30 +0000 (15:10 +0000)
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 552107 – Small libtool fixes

        * configure.in: Regenerate libtool early, quote $deplibs_check_method.
        Patch by Patryk Zawadzki

svn path=/trunk/; revision=21411

ChangeLog
configure.in

index df5e62006868c60e632288d14babb4e5ba9d8a25..cfa21eaed89cf07503499fed7140a90bbb95dfe2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-09-17  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 552107 – Small libtool fixes
+
+       * configure.in: Regenerate libtool early, quote $deplibs_check_method.
+       Patch by Patryk Zawadzki
+
 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
 
        Bug 551722 – gtk_widget_set_scroll_adjustments() should check the
index 60702693e66011fa4ebf742841931523589a1856..4cdecbe39e1f3e1a3afb9a68b762ed092a2d1dfa 100644 (file)
@@ -184,6 +184,9 @@ fi
 
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
+dnl when using libtool 2.x create libtool early, because it's used in configure
+m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
+
 
 # Make sure we use 64-bit versions of various file stuff.
 AC_SYS_LARGEFILE
@@ -398,7 +401,7 @@ AC_MSG_CHECKING([Whether to write dependencies into .pc files])
 case $enable_explicit_deps in
   auto)
     export SED
-    deplibs_check_method=`(./libtool --config; echo 'eval echo $deplibs_check_method') | sh`
+    deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
     if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
       enable_explicit_deps=yes  
     else